<template>
  <div class="app">
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  data() {
    return {
      page: {
        current: 1,
        size: 10,
        total: 0,
      },
      tableData: [],
      userName: "",
      passWord: "",
      message: "",
    };
  },
  mounted() {
    // this.getData();
  },
  methods: {
    // getData() {
    //   dataList({
    //     ...this.page,
    //   }).then((res) => {
    //     console.log(res);
    //     const data = res.data.data;
    //     this.page = data.page;
    //     this.tableData = data.list;
    //   });
    // },
    // handleSizeChange(val) {
    //   console.log(val);
    //   this.page.size = val;
    //   this.getData();
    // },
    // handleCurrentChange(val) {
    //   console.log(val);
    //   this.page.current = val;
    //   this.getData();
    // },
  },
};
</script>

<style lang="scss" scoped>
html, body, .app {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  height: 100vh; /* 设置高度为100%的视口高度 */
}
#app {
  width: 100%;
  height: 100%;
}
</style>